package com.srit.system.bean;

import java.util.List;

/**
 * 页面组成 <br>
 * 当areaType=all 时候，则根据codeType来查找出所有的地址 <br>
 * 当areaType=one 时候，则需要根据codeType来选择那个地址
 * 
 * @author guan
 * 
 */
public class Grid {
	private Integer id;
	private Integer configId;// 报文id
	private String name;// 名称
	private String gridType;// FORM,LIST_vertical,LIST_horizontal
	private String htmlId;
	private String htmlName;
	private int effectTime = 1;// 时效,0就是普通表单，>1就需要循环输出
	private String subjectType;// all,one,一批,则循环出所有;一个
	private String codeType;// 码表类型,用来选择哪个码表
	private String codeId;// code的id值
	private List<GridAttrRel> relList;
	private String targetTable;// 目标表

	public String getHtmlId() {
		return htmlId;
	}

	public void setHtmlId(String htmlId) {
		this.htmlId = htmlId;
	}

	public String getHtmlName() {
		return htmlName;
	}

	public void setHtmlName(String htmlName) {
		this.htmlName = htmlName;
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getGridType() {
		return gridType;
	}

	public void setGridType(String gridType) {
		this.gridType = gridType;
	}

	public int getEffectTime() {
		return effectTime;
	}

	public void setEffectTime(int effectTime) {
		this.effectTime = effectTime;
	}

	public String getCodeType() {
		return codeType;
	}

	public void setCodeType(String codeType) {
		this.codeType = codeType;
	}

	public List<GridAttrRel> getRelList() {
		return relList;
	}

	public void setRelList(List<GridAttrRel> relList) {
		this.relList = relList;
	}

	public Integer getConfigId() {
		return configId;
	}

	public void setConfigId(Integer configId) {
		this.configId = configId;
	}

	public String getSubjectType() {
		return subjectType;
	}

	public void setSubjectType(String subjectType) {
		this.subjectType = subjectType;
	}

	public String getCodeId() {
		return codeId;
	}

	public void setCodeId(String codeId) {
		this.codeId = codeId;
	}

	public String getTargetTable() {
		return targetTable;
	}

	public void setTargetTable(String targetTable) {
		this.targetTable = targetTable;
	}

}
